﻿namespace EventHandlerDemo.Infrastructure.EFCore
{
    public class EntityChangeReport
    {
        public List<DomainEventEntry> DomainEvents { get; }

        public EntityChangeReport()
        {
            DomainEvents = new List<DomainEventEntry>();
        }

        public bool IsEmpty()
        {
            return DomainEvents.Count <= 0;
        }
    }
}